package com.gexiaobao.pigeon.app.model.bean

/**
 * @Author      : hxw
 * @Date        : 2024/8/22 15:45
 * @Describe    :
 */
data class GatherLiveResponse(
    val list: List<GatherLiveBean>,
    val passId: Int,
    val backRecordStatus: Boolean
) {
    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    class GatherLiveBean(
        val channels: ArrayList<ChannelListBean>,
        val stationNum: String
    ) {

        /**
         * 数据是否为空
         */
        fun isEmpty() = channels == null || (channels as List<*>).isEmpty()

        class ChannelListBean(
            val duration: Double,
            val boardNo: String,
            val liveAddress: String,
            val snapshot: String,
            val startTime: String,
            val stopTime: String
        )

    }
}